#ifndef LB_SEARCHBOOK_H
#define LB_SEARCHBOOK_H

#include <QDialog>
#include <QStandardItem>
#include <QStandardItemModel>
#include <QFile>
#include <QList>
#include <QString>

#include "bookdata.h"

namespace Ui {
class LB_searchbook;
}

class LB_searchbook : public QDialog
{
    Q_OBJECT

public:
    explicit LB_searchbook(QWidget *parent = nullptr);
    ~LB_searchbook();
    void doQuery(QString cnt);
//    void display(int row,QStringList subs);

private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

private:
    Ui::LB_searchbook *ui;
    QStandardItemModel * model;//有了一个表格模型
    QList<QString> book_lines;
};

#endif // LB_SEARCHBOOK_H
